;; -*- scheme -*-
; object definitions ...
(define-object GraphWidget
  (in-module "Nx")
  (parent "GtkDrawingArea")
  (c-name "NxGraphWidget")
  (gtype-id "NX_TYPE_GRAPH_WIDGET")
)

;; Enumerations and flags ...


;; From widget.h

(define-function nx_create_widget
  (c-name "nx_create_widget")
  (return-type "NxGraphWidget*")
  (parameters
    '("nx_graph_p" "graph")
  )
)

(define-function nx_signal_graph
  (c-name "nx_signal_graph")
  (return-type "none")
  (parameters
    '("nx_graph_p" "graph")
    '("int" "id")
    '("double" "x")
    '("double" "y")
  )
)

(define-function nx_signal_element
  (c-name "nx_signal_element")
  (return-type "none")
  (parameters
    '("nx_element_p" "elem")
    '("int" "id")
    '("double" "x")
    '("double" "y")
  )
)

(define-function nx_graph_widget_get_type
  (c-name "nx_graph_widget_get_type")
  (return-type "GType")
)


